package com.liebaut.controller.person.address;

import com.liebaut.controller.CrudController;
import com.liebaut.dao.person.address.AddressTypeRepository;
import com.liebaut.model.person.address.AddressType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/addressType")
public class AddressTypeController extends CrudController<AddressType, Long> {

    public AddressTypeController() {
    }

    @Autowired
    public AddressTypeController(AddressTypeRepository repository) {
        super(repository);
    }
}
